﻿using System.ComponentModel.DataAnnotations;
using System.Xml.Serialization;

namespace SelfService.HaiTai.Models.Appointment;

[XmlRoot("req")]
public class GetRegFeeRequest
{
    /// <summary>
    /// 医院ID
    /// Example: 100369001
    /// </summary>
    [XmlElement("hospitalId")]
    public string HospitalId { get; set; }

    /// <summary>
    /// 科室ID
    /// Example: 1040
    /// </summary>
    [XmlElement("deptId")]
    [Required(ErrorMessage = "科室不能为空")]
    public string DeptId { get; set; }
    
    /// <summary>
    /// Example: 1211
    /// </summary>
    [XmlElement("doctorId")]
    [Required(ErrorMessage = "医生不能为空")]
    public string DoctorId { get; set; }

    /// <summary>
    /// 就诊日期
    /// Example: 2023-04-27
    /// </summary>
    [XmlElement("regDate")]
    [Required(ErrorMessage = "就诊日期不能为空")]
    public string RegDate { get; set; }

    /// <summary>
    /// 排班号
    /// Example: 390588
    /// </summary>
    [XmlElement("scheduleId")]
    [Required(ErrorMessage = "排班号不能为空")]
    public string ScheduleId { get; set; }

    /// <summary>
    /// Example: 1
    /// </summary>
    [XmlElement("shiftCode")]
    public string ShiftCode { get; set; }

    /// <summary>
    /// 患者卡号
    /// Example: 410827197006023548
    /// </summary>
    [XmlElement("healthCardNo")]
    public string HealthCardNo { get; set; }

    /// <summary>
    /// 患者ID
    /// Example: 1568534
    /// </summary>
    [XmlElement("patientId")]
    [Required(ErrorMessage = "患者ID不能为空")]
    public string PatientId { get; set; }
}